calculate running total

join shbcf.ru